package com.wyt.dao;

import com.wyt.entity.Menu;
import com.wyt.until.MenuList;

import java.util.List;

public interface MenuMapper {
    int deleteByPrimaryKey(Integer mid);

    int insert(Menu record);

    int insertSelective(Menu record);

    Menu selectByPrimaryKey(Integer mid);

    int updateByPrimaryKeySelective(Menu record);

    int updateByPrimaryKey(Menu record);

    List<MenuList> findMenuByRoleId(Integer rid);
}